package com.neusoft.neuiotms.dcom.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.KnowledgeAttachment;

public interface KnowledgeAttachmentRepository extends JpaRepository<KnowledgeAttachment, Long> {

    List<KnowledgeAttachment> findByFsId(String fsId);

    List<KnowledgeAttachment> findByFsIdIn(List<String> fsIds);

    List<KnowledgeAttachment> findByKnowledgeId(Long id);

}
